package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *  物业收费规则数据对象
 * <desc/>
 *
 * @createDate 2018-08-09
 */
@ItlTables("fee_rule_info")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class FeeRuleInfoPO extends BasePO  implements Serializable {

    @ItlField(value = "fee_rule_id",logicKey = "key")
    private String feeRuleId; //物业内容id

    @ItlField("project_id")
    private  String projectId; //项目编号

    @ItlField("rule_name")
    private  String ruleName; //规则名称

    @ItlField("fee_type")
    private String feeType; //收费类型：1抄表费 2物业费 3维修费 4停车费

    @ItlField("calculate_type")
    private String calculateType; //计算方式：1单价*数量 2固定金额 3自定义

    @ItlField("measure_type")
    private String measureType; //计量方式：1单价 2阶梯收费 3按房屋建筑面积 4按房屋套内面积 5按房屋公摊面积

    @ItlField("price")
    private String price; //单价

    @ItlField("penalty_percentage")
    private String penaltyPercentage; //滞纳金百分比

    @ItlField("penalty_day")
    private String penaltyDay; //滞纳金超出天数

    @ItlField("reminder_day")
    private String reminderDay; //短信提醒天数

    @ItlField("fixed_price")
    private String fixedPrice; //固定金额

    @ItlField("fee_cycle")
    private String feeCycle; //收费周期：1月 2季度 3年

    @ItlField("fee_day")
    private String feeDay; //收费类型：1抄表费 2物业费 3维修费 4停车费

    @ItlField("property_fee")
    private String propertyFee; //物业费(只有物业费在自定义时才会有值)

    @ItlField("hygiene_fee")
    private String hygieneFee; //卫生费(只有物业费在自定义时才会有值)

    @ItlField("greening_fee")
    private String greeningFee; //绿化费(只有物业费在自定义时才会有值)

    @ItlField("remark")
    private String remark; //备注

}
